home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / lang / Python151_Src.lha / Python1.5_Source / Modules / config.c < prev    next >
C/C++ Source or Header  |  1998-12-25  |  2KB  |  76 lines

  1.  
  2. /* Module configuration */
  3.  
  4. /* This file contains the table of built-in modules.
  5.    See init_builtin() in import.c. */
  6.  
  7. /**** I.J. 11/11/1995 ***/
  8. /* On the Amiga, you'll have to edit this file by hand to set up the *
  9. /* modules configuration (sorry)                       */
  10. /* Updated  8-dec-96 for Python 1.4                    */
  11. /* Updated 12-jan-98 for Python 1.5                    */
  12. /* Updated 25-dec-98 for I-Net225                      */
  13. /*******************************************************/
  14.  
  15.  
  16. #include "Python.h"
  17.  
  18. struct _inittab _PyImport_Inittab[] = {
  19.  
  20. /************ HERE YOU NEED TO INSTALL ALL DESIRED MODULES!!!! **************/
  21.  
  22.     {"amiga",initamiga},
  23.     {"ARexxll",initARexx},
  24.     {"Doslib", initDoslib },
  25. //    {"execlib", initexeclib },      // XXX experimental
  26. //    {"simplegfx", initsimplegfx },  // XXX experimental
  27.  
  28.     {"array",initarray},
  29.     {"binascii",initbinascii}, 
  30.     {"cmath",initcmath},
  31.     {"math",initmath},
  32.     {"new",initnew},
  33.     {"errno",initerrno},
  34.     {"environment",initenvironment},
  35.     {"regex",initregex},
  36.     {"pcre",initpcre},
  37.     {"strop",initstrop},
  38.     {"struct",initstruct},
  39.     {"time",inittime},
  40.     {"timing",inittiming},
  41.     {"md5",initmd5}, 
  42.     {"soundex",initsoundex},
  43.     {"rotor",initrotor},
  44.     {"operator",initoperator},
  45.     {"cStringIO",initcStringIO},
  46.     {"cPickle",initcPickle},
  47. //    {"zlib",PyInit_zlib},
  48.  
  49. #if defined(AMITCP) || defined(INET225)
  50.     {"pwd",initpwd},
  51.     {"grp",initgrp},
  52.     {"crypt",initcrypt},
  53.     {"select",initselect},
  54.     {"socket",initsocket},
  55.     {"syslog",initsyslog},
  56. #endif
  57.  
  58. /*  {"signal",initsignal}, */
  59.  
  60. /****************************************************** I.J. 10/12/1996 *****/
  61.  
  62.     /* This module "lives in" with marshal.c */
  63.     {"marshal", PyMarshal_Init},
  64.  
  65.     /* This lives in with import.c */
  66.     {"imp", initimp},
  67.  
  68.     /* These entries are here for sys.builtin_module_names */
  69.     {"__main__", NULL},
  70.     {"__builtin__", NULL},
  71.     {"sys", NULL},
  72.  
  73.     /* Sentinel */
  74.     {0, 0}
  75. };
  76.